package lk.service;

import lk.pojo.Book;
import lk.pojo.BookCollection;
import lk.pojo.BookComment;
import lk.pojo.BookPraise;

import java.util.List;

/**
 * ClassName:BookService
 * Description:
 *
 */
public interface BookService {

    int addBook(Book book);

    int examineBook(Long bookId);

    int removeBook(Long bookId);

    List<Book> findList(Book book);

    List<Book> findMyBook(Book book);

    int bookcollection(BookCollection bookCollection);

    List<BookCollection> findBookCollection(BookCollection bookCollection);

    int removeBookcollection(BookCollection bookCollection);

    List<BookComment> findBookComment(Long bookId);

    int addBookComment(BookComment bookComment);

    int removeBookComment(BookComment bookComment);

    int addBookPraise(BookPraise bookPraise);
}
